import type {
  CommonParams,
  CommonReturn,
  CommonReturnListItem,
  CommonReturnListSimpleItem
} from '../schema/all'
export type SiteListParams = CommonParams<'/api/site', 'get'>
export type SiteListItem = CommonReturnListItem<'/api/site/query', 'get'>
export type SiteBaseInfo = CommonReturn<'/api/site', 'get'>
export type SiteGroupItem = CommonReturnListItem<'/api/site/site-group', 'get'>
export type CreateSiteReturn = CommonReturn<'/api/site', 'post'>
export type SiteOriginParams = CommonParams<'/api/site/origin-server', 'put'>
export type SiteSimpleList = CommonReturnListSimpleItem<
  '/api/site/simple-list',
  'get'
>
